Finalize Iceberg root and shim class placement [reduced-it] - #15944
Merged
gerashegalov merged 13 commits intoSep 14, 2026
Conversation
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
…independent-helpers Signed-off-by: Gera Shegalov <gshegalov@nvidia.com> # Conflicts: # dist/unshimmed-common-from-single-shim.txt
…independent-helpers Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
…independent-helpers Signed-off-by: Gera Shegalov <gshegalov@nvidia.com> # Conflicts: # dist/unshimmed-common-from-single-shim.txt
…independent-helpers Signed-off-by: Gera Shegalov <gshegalov@nvidia.com> # Conflicts: # dist/unshimmed-common-from-single-shim.txt
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
…independent-helpers Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
18 tasks
…final-layout Signed-off-by: Gera Shegalov <gshegalov@nvidia.com> # Conflicts: # dist/unshimmed-common-from-single-shim.txt
gerashegalov
marked this pull request as ready for review
September 10, 2026 15:24
Collaborator
Author
|
build |
Contributor
|
Collaborator
Author
|
build |
firestarman
reviewed
Sep 11, 2026
firestarman
previously approved these changes
Sep 11, 2026
firestarman
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, just one nit.
Signed-off-by: Gera Shegalov <gshegalov@nvidia.com>
Collaborator
Author
|
build |
firestarman
approved these changes
Sep 14, 2026
This was referenced Sep 14, 2026
8 tasks
res-life
pushed a commit
that referenced
this pull request
Sep 14, 2026
Follow-up to #15944 and #15957. ### Description After both Iceberg packaging changes reached `main`, `package-parallel-worlds.py` began reading `system_runtime_path` from the loaded `iceberg_runtime.py` module. `RootSafeProviderSelectionTest` creates a minimal fake version of that module, but the fixture still defined only `coordinates`. As a result, the standard-assembler subtest failed with `KeyError: 'system_runtime_path'` before Maven compilation, causing install and verify matrix jobs on subsequent pull requests to fail or be canceled by fail-fast. This change adds the missing `system_runtime_path` function to the fake module. It returns `None`, matching the test fixture's existing behavior when no explicit system Iceberg runtime is configured. Production code is unchanged. Validation on current `main` (`b23ab02e986767dfd26fde2e221d58658d9a2179`): ```text $ python3 dist/scripts/tests/test_root_safe_provider_selection.py . ---------------------------------------------------------------------- Ran 1 test in 0.251s OK ``` The failure was also reproduced before the fixture change with the same `KeyError` reported by the Maven matrix in #15982. This change was prepared with AI assistance and reviewed by the author. ### Checklists Documentation - [ ] Updated for new or modified user-facing features or behaviors - [x] No user-facing change Testing - [x] Added or modified tests to cover new code paths - [ ] Covered by existing tests - [ ] Not required Performance - [ ] Tests ran and results are added in the PR description - [ ] Issue filed with a link in the PR description - [x] Not required Signed-off-by: Hongbin Ma <mahongbin@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to #15821.
Description
This PR completes the Iceberg class-placement milestone:
iceberg-commonspark-sharedunshimmed-common-from-single-shim.txtAfter this change, assembled multi-shim distribution JARs contain no Iceberg classes under
spark-shared. The shared, root-safe Iceberg helpers are at the JAR root, while Spark- and Iceberg-version-specific implementations remain undersparkXYZ.There are no user-facing configuration or API changes.
Validation:
334,344,353,359353,359,404,413,420spark-shared, and the remaining classes under Spark-specific directoriesGpuBaseReadercame from its newest applicable classifier, Spark 3.5.3extraClassPath: 6 passedChecklists
Documentation
Testing
(synthetic multi-classifier provider-selection and dedupe coverage for both assemblers)
(
IcebergDeletionVectorSuiteand the Iceberg read, append, and no-op-write integration smoke tests)Performance
Performance testing is not required because this changes build-time source selection and JAR placement without modifying runtime execution logic.
This change and its validation were prepared with AI assistance and reviewed by a human before publication.